package com.xc.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserPosition {

    private Integer id;

    private Integer positionType;

    private String positionSn;

    private Integer userId;

    private String nickName;

    private Integer agentId;

    private String stockName;

    private String stockCode;

    private String stockGid;

    private String stockSpell;

    private String buyOrderId;

    private Date buyOrderTime;

    private BigDecimal buyOrderPrice;

    private String sellOrderId;

    private Date sellOrderTime;

    private BigDecimal sellOrderPrice;

    private BigDecimal profitTargetPrice;

    private BigDecimal stopTargetPrice;

    private String orderDirection;

    private Integer orderNum;

    private Integer orderLever;

    private BigDecimal orderTotalPrice;

    private BigDecimal orderFee;

    private BigDecimal orderSpread;

    private BigDecimal orderStayFee;

    private Integer orderStayDays;

    private BigDecimal profitAndLose;

    private BigDecimal allProfitAndLose;


    private Integer isLock;

    private String lockMsg;


}